package com.gitee.ywj1352.dubbo.client;

import com.gitee.ywj1352.dubbo.resilience4j.fallback.Fallback;
import org.apache.dubbo.common.extension.SPI;

@SPI("sayHelloFallback")
public class SayHelloFallback implements Fallback {

    @Override
    public Object doFallback(Object[] params) {
        System.out.println("0000000000000000000000000000000000000000000000000000000");
        return params[0].toString() + " fallback";
    }
}
